// ****************************************************************
// Copyright 2012, Stephan Burguchev
// e-mail: me@sburg.net
// ****************************************************************
// *
using System;
using System.Collections.Generic;
using System.IO;
using Updater.Common;

namespace Updater.Sources
{
    /// <summary>
    /// </summary>
    public interface ISource
    {
        void Download(Uri location, Stream outStream, Action<DownloadProgressInfo> progressChangedCallback = null);

        void Download(Dictionary<Uri, Stream> resourcesToDownload, Action<DownloadProgressInfo> progressChangedCallback = null);
    }
}
